how to set image Source in the code C#

92

how to set image Source in the code C# -

myImage.Source = new BitmapImage(new Uri(@"/Images/foo.png", UriKind.Relative));

Comments

Submit
0 Comments